package com.easyCms.base.dao;

import com.easyCms.base.entity.CrmUserAuth;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CrmUserAuthDAO extends JpaSpecificationExecutor<CrmUserAuth>, JpaRepository<CrmUserAuth, Long> {

    CrmUserAuth findByHamiCodeAndState(String identityCode, int stateValid);

}